package com.zb.factory.service;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author WEN
 * @Date 2024/4/17 0017
 **/
public interface ConFactoryAccountBalanceService {
    /**
     * 扣除冻结/占用金额
     * @param factoryId 品牌商家ID
     * @param price 扣减金额
     */
    void deductionFreezeByFactoryId(Long factoryId, BigDecimal price);

    /**
     * 扣除冻结/占用金额
     * @param deductionMoney 是否扣除余额
     * @param workIds 工单ID
     */
    void deductionFreezeByWorkIds(boolean deductionMoney, List<Long> workIds);
}
